<template>
  <div id="translate-output">
    <h2 v-if="resultText.length > 0">翻译结果：{{ resultText }}</h2>
  </div>
</template>

<script>
  export default {
    name: "translate-output",
    props: [
      "resultText"
    ]
  }
</script>

<style scoped>

</style>
